package com.peng.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 客户跟踪记录表
 * @TableName t_customer_remark
 */
@TableName(value ="t_customer_remark")
@Data
public class TCustomerRemark implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键，自动增长，客户备注ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户ID
     */
    @TableField(value = "customer_id")
    private Integer customer_id;

    /**
     * 跟踪方式
     */
    @TableField(value = "note_way")
    private Integer note_way;

    /**
     * 跟踪内容
     */
    @TableField(value = "note_content")
    private String note_content;

    /**
     * 跟踪人
     */
    @TableField(value = "create_by")
    private Integer create_by;

    /**
     * 跟踪时间
     */
    @TableField(value = "create_time")
    private Date create_time;

    /**
     * 编辑时间
     */
    @TableField(value = "edit_time")
    private Date edit_time;

    /**
     * 编辑人
     */
    @TableField(value = "edit_by")
    private Integer edit_by;

    /**
     * 删除状态（0正常，1删除）
     */
    @TableField(value = "deleted")
    private Integer deleted;
}